#!/bin/sh
source /root/.bash_profile
CUR_DIR=$PWD
SQL_SCRIPT=$CUR_DIR/ConfigFile/db.sql
MYSQL=`which mysql`

$MYSQL -uroot -proot123 < $SQL_SCRIPT

if [ $? == 0 ];then
	echo "===succ end==="
else
	echo "===failed end==="
fi
